package com.appspot.moviesessions.model;

import org.springframework.context.ApplicationEvent;

public class MoviePosterFoundEvent  extends ApplicationEvent{

	private String name;
	private byte[] imageData;

	public MoviePosterFoundEvent(Object source,String name,byte[] posterData) {
	    super(source);
	    this.name = name;
	    this.imageData = posterData;
    }

	public String getName() {
	    return name;
    }
	
	public byte[] getImageData() {
	    return imageData;
    }
}
